<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRMirageAc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRMirageAc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRMirageAc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Mirage 120-bit A/C messages.  
 <a href="classIRMirageAc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Mirage_8h_source.html">ir_Mirage.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRMirageAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRMirageAc__coll__graph.png" border="0" usemap="#IRMirageAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRMirageAc_coll__map" id="IRMirageAc_coll__map">
<area shape="rect" title="Class for handling detailed Mirage 120&#45;bit A/C messages." alt="" coords="93,95,189,121"/>
<area shape="rect" href="unionMirage120Protocol.html" title="Native representation of a Mirage 120&#45;bit A/C message." alt="" coords="5,5,149,32"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="173,5,240,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a739c4800143fe7ecacd4b9574fa2bdbd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a739c4800143fe7ecacd4b9574fa2bdbd">IRMirageAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a739c4800143fe7ecacd4b9574fa2bdbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRMirageAc.html#a739c4800143fe7ecacd4b9574fa2bdbd">More...</a><br /></td></tr>
<tr class="separator:a739c4800143fe7ecacd4b9574fa2bdbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9ecf7951e9d95937e6a89c09d5ad609"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ac9ecf7951e9d95937e6a89c09d5ad609">stateReset</a> (void)</td></tr>
<tr class="memdesc:ac9ecf7951e9d95937e6a89c09d5ad609"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the state of the remote to a known good state/sequence.  <a href="classIRMirageAc.html#ac9ecf7951e9d95937e6a89c09d5ad609">More...</a><br /></td></tr>
<tr class="separator:ac9ecf7951e9d95937e6a89c09d5ad609"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad85d51d2142083d19610ffd6aea5f230"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ad85d51d2142083d19610ffd6aea5f230">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a86283c34cf9991bf8bfc29ee089a6a21">kMirageMinRepeat</a>)</td></tr>
<tr class="memdesc:ad85d51d2142083d19610ffd6aea5f230"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRMirageAc.html#ad85d51d2142083d19610ffd6aea5f230">More...</a><br /></td></tr>
<tr class="separator:ad85d51d2142083d19610ffd6aea5f230"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0edd555ed11a4e3c8c4b59ccb130ac77"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a0edd555ed11a4e3c8c4b59ccb130ac77">calibrate</a> (void)</td></tr>
<tr class="memdesc:a0edd555ed11a4e3c8c4b59ccb130ac77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRMirageAc.html#a0edd555ed11a4e3c8c4b59ccb130ac77">More...</a><br /></td></tr>
<tr class="separator:a0edd555ed11a4e3c8c4b59ccb130ac77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acee1d211b4518a48743209100ea4c707"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#acee1d211b4518a48743209100ea4c707">begin</a> (void)</td></tr>
<tr class="memdesc:acee1d211b4518a48743209100ea4c707"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRMirageAc.html#acee1d211b4518a48743209100ea4c707">More...</a><br /></td></tr>
<tr class="separator:acee1d211b4518a48743209100ea4c707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a127f2c6ed2a2285ad4f94b2be1409e13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a> (void)</td></tr>
<tr class="memdesc:a127f2c6ed2a2285ad4f94b2be1409e13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to on.  <a href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">More...</a><br /></td></tr>
<tr class="separator:a127f2c6ed2a2285ad4f94b2be1409e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c9cf60f9c7e4fab43253a74883d82cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a6c9cf60f9c7e4fab43253a74883d82cb">off</a> (void)</td></tr>
<tr class="memdesc:a6c9cf60f9c7e4fab43253a74883d82cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to off.  <a href="classIRMirageAc.html#a6c9cf60f9c7e4fab43253a74883d82cb">More...</a><br /></td></tr>
<tr class="separator:a6c9cf60f9c7e4fab43253a74883d82cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab32b550138dab52f8811a8e4c0755bec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab32b550138dab52f8811a8e4c0755bec">setPower</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:ab32b550138dab52f8811a8e4c0755bec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRMirageAc.html#ab32b550138dab52f8811a8e4c0755bec">More...</a><br /></td></tr>
<tr class="separator:ab32b550138dab52f8811a8e4c0755bec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c876e6f1b2a5b3b4a796a22c96298f1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a8c876e6f1b2a5b3b4a796a22c96298f1">getPower</a> (void) const</td></tr>
<tr class="memdesc:a8c876e6f1b2a5b3b4a796a22c96298f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRMirageAc.html#a8c876e6f1b2a5b3b4a796a22c96298f1">More...</a><br /></td></tr>
<tr class="separator:a8c876e6f1b2a5b3b4a796a22c96298f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a701fe7dfe311071d9cee04cb7605d847"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a701fe7dfe311071d9cee04cb7605d847">setTemp</a> (const uint8_t degrees)</td></tr>
<tr class="memdesc:a701fe7dfe311071d9cee04cb7605d847"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRMirageAc.html#a701fe7dfe311071d9cee04cb7605d847">More...</a><br /></td></tr>
<tr class="separator:a701fe7dfe311071d9cee04cb7605d847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9db699a5048f76dd31365686d001c081"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a9db699a5048f76dd31365686d001c081">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a9db699a5048f76dd31365686d001c081"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRMirageAc.html#a9db699a5048f76dd31365686d001c081">More...</a><br /></td></tr>
<tr class="separator:a9db699a5048f76dd31365686d001c081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e52ad09371e1001fb8c7199c2f3781d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a0e52ad09371e1001fb8c7199c2f3781d">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a0e52ad09371e1001fb8c7199c2f3781d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRMirageAc.html#a0e52ad09371e1001fb8c7199c2f3781d">More...</a><br /></td></tr>
<tr class="separator:a0e52ad09371e1001fb8c7199c2f3781d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d861562af0b4ed5c1e211c002bf6b6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a17d861562af0b4ed5c1e211c002bf6b6">getFan</a> (void) const</td></tr>
<tr class="memdesc:a17d861562af0b4ed5c1e211c002bf6b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRMirageAc.html#a17d861562af0b4ed5c1e211c002bf6b6">More...</a><br /></td></tr>
<tr class="separator:a17d861562af0b4ed5c1e211c002bf6b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2cabff8998a1c01b6871177adb13691"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#af2cabff8998a1c01b6871177adb13691">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:af2cabff8998a1c01b6871177adb13691"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRMirageAc.html#af2cabff8998a1c01b6871177adb13691">More...</a><br /></td></tr>
<tr class="separator:af2cabff8998a1c01b6871177adb13691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2c790dbbb72c395c1b238c9033e5ad2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#aa2c790dbbb72c395c1b238c9033e5ad2">getMode</a> (void) const</td></tr>
<tr class="memdesc:aa2c790dbbb72c395c1b238c9033e5ad2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRMirageAc.html#aa2c790dbbb72c395c1b238c9033e5ad2">More...</a><br /></td></tr>
<tr class="separator:aa2c790dbbb72c395c1b238c9033e5ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab08d6daf244c8a52edb64f9a852f35aa"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab08d6daf244c8a52edb64f9a852f35aa">getRaw</a> (void)</td></tr>
<tr class="memdesc:ab08d6daf244c8a52edb64f9a852f35aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol.  <a href="classIRMirageAc.html#ab08d6daf244c8a52edb64f9a852f35aa">More...</a><br /></td></tr>
<tr class="separator:ab08d6daf244c8a52edb64f9a852f35aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9899b06aefc5242cd06d38ad284083d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ae9899b06aefc5242cd06d38ad284083d">setRaw</a> (const uint8_t *data)</td></tr>
<tr class="memdesc:ae9899b06aefc5242cd06d38ad284083d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRMirageAc.html#ae9899b06aefc5242cd06d38ad284083d">More...</a><br /></td></tr>
<tr class="separator:ae9899b06aefc5242cd06d38ad284083d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a38cdbacb9ec817998ba65a47d712b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab1a38cdbacb9ec817998ba65a47d712b">getClock</a> (void) const</td></tr>
<tr class="memdesc:ab1a38cdbacb9ec817998ba65a47d712b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the clock time of the A/C unit.  <a href="classIRMirageAc.html#ab1a38cdbacb9ec817998ba65a47d712b">More...</a><br /></td></tr>
<tr class="separator:ab1a38cdbacb9ec817998ba65a47d712b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc7d3367490496fa45f92c42a0a26219"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#afc7d3367490496fa45f92c42a0a26219">setClock</a> (const uint32_t nr_of_seconds)</td></tr>
<tr class="memdesc:afc7d3367490496fa45f92c42a0a26219"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the clock time on the A/C unit.  <a href="classIRMirageAc.html#afc7d3367490496fa45f92c42a0a26219">More...</a><br /></td></tr>
<tr class="separator:afc7d3367490496fa45f92c42a0a26219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabfe8f6289a834e0e295a5ca93168f95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#aabfe8f6289a834e0e295a5ca93168f95">setTurbo</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:aabfe8f6289a834e0e295a5ca93168f95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the Turbo setting.  <a href="classIRMirageAc.html#aabfe8f6289a834e0e295a5ca93168f95">More...</a><br /></td></tr>
<tr class="separator:aabfe8f6289a834e0e295a5ca93168f95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70e6f674e41d988a11794e09d79a7ae1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a70e6f674e41d988a11794e09d79a7ae1">getTurbo</a> (void) const</td></tr>
<tr class="memdesc:a70e6f674e41d988a11794e09d79a7ae1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current Turbo setting.  <a href="classIRMirageAc.html#a70e6f674e41d988a11794e09d79a7ae1">More...</a><br /></td></tr>
<tr class="separator:a70e6f674e41d988a11794e09d79a7ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b6b18a323ab87138880e2997620924"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a16b6b18a323ab87138880e2997620924">setLight</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:a16b6b18a323ab87138880e2997620924"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the Light/Display setting.  <a href="classIRMirageAc.html#a16b6b18a323ab87138880e2997620924">More...</a><br /></td></tr>
<tr class="separator:a16b6b18a323ab87138880e2997620924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2bd55ddf1872201752ac25e9e516df9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#aa2bd55ddf1872201752ac25e9e516df9">getLight</a> (void) const</td></tr>
<tr class="memdesc:aa2bd55ddf1872201752ac25e9e516df9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current Light/Display setting.  <a href="classIRMirageAc.html#aa2bd55ddf1872201752ac25e9e516df9">More...</a><br /></td></tr>
<tr class="separator:aa2bd55ddf1872201752ac25e9e516df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae77d42622bb57f828cbe8fb37dac28be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ae77d42622bb57f828cbe8fb37dac28be">setSleep</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:ae77d42622bb57f828cbe8fb37dac28be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the Sleep setting.  <a href="classIRMirageAc.html#ae77d42622bb57f828cbe8fb37dac28be">More...</a><br /></td></tr>
<tr class="separator:ae77d42622bb57f828cbe8fb37dac28be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f8337cacbaf7f5d970582cef5d4a8fb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a4f8337cacbaf7f5d970582cef5d4a8fb">getSleep</a> (void) const</td></tr>
<tr class="memdesc:a4f8337cacbaf7f5d970582cef5d4a8fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current Sleep setting.  <a href="classIRMirageAc.html#a4f8337cacbaf7f5d970582cef5d4a8fb">More...</a><br /></td></tr>
<tr class="separator:a4f8337cacbaf7f5d970582cef5d4a8fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad41be56bfe16c533736e8ed4a3838aa1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ad41be56bfe16c533736e8ed4a3838aa1">setSwingV</a> (const uint8_t position)</td></tr>
<tr class="memdesc:ad41be56bfe16c533736e8ed4a3838aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing setting/position of the A/C.  <a href="classIRMirageAc.html#ad41be56bfe16c533736e8ed4a3838aa1">More...</a><br /></td></tr>
<tr class="separator:ad41be56bfe16c533736e8ed4a3838aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabdbbfd77e7c18e0658e3424b44b6fd1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#aabdbbfd77e7c18e0658e3424b44b6fd1">getSwingV</a> (void) const</td></tr>
<tr class="memdesc:aabdbbfd77e7c18e0658e3424b44b6fd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing setting/position of the A/C.  <a href="classIRMirageAc.html#aabdbbfd77e7c18e0658e3424b44b6fd1">More...</a><br /></td></tr>
<tr class="separator:aabdbbfd77e7c18e0658e3424b44b6fd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5ea54d76d2dbac81a2d4bab7d99d81f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab5ea54d76d2dbac81a2d4bab7d99d81f">setSwingH</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:ab5ea54d76d2dbac81a2d4bab7d99d81f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Horizontal Swing setting of the A/C.  <a href="classIRMirageAc.html#ab5ea54d76d2dbac81a2d4bab7d99d81f">More...</a><br /></td></tr>
<tr class="separator:ab5ea54d76d2dbac81a2d4bab7d99d81f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa183dd0bdefbf85c2e731b1fa905fdaa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#aa183dd0bdefbf85c2e731b1fa905fdaa">getSwingH</a> (void) const</td></tr>
<tr class="memdesc:aa183dd0bdefbf85c2e731b1fa905fdaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Horizontal Swing setting of the A/C.  <a href="classIRMirageAc.html#aa183dd0bdefbf85c2e731b1fa905fdaa">More...</a><br /></td></tr>
<tr class="separator:aa183dd0bdefbf85c2e731b1fa905fdaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5679bdf6e19db9c533dc92e37f6f8ad2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a5679bdf6e19db9c533dc92e37f6f8ad2">setQuiet</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:a5679bdf6e19db9c533dc92e37f6f8ad2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Quiet setting of the A/C.  <a href="classIRMirageAc.html#a5679bdf6e19db9c533dc92e37f6f8ad2">More...</a><br /></td></tr>
<tr class="separator:a5679bdf6e19db9c533dc92e37f6f8ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5da3e5cf8ca797a6b67d701ccc4ac7f6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a5da3e5cf8ca797a6b67d701ccc4ac7f6">getQuiet</a> (void) const</td></tr>
<tr class="memdesc:a5da3e5cf8ca797a6b67d701ccc4ac7f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Quiet setting of the A/C.  <a href="classIRMirageAc.html#a5da3e5cf8ca797a6b67d701ccc4ac7f6">More...</a><br /></td></tr>
<tr class="separator:a5da3e5cf8ca797a6b67d701ccc4ac7f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a4dec51aad4ca376ea4b8b148928da6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a7a4dec51aad4ca376ea4b8b148928da6">setCleanToggle</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:a7a4dec51aad4ca376ea4b8b148928da6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the CleanToggle setting of the A/C.  <a href="classIRMirageAc.html#a7a4dec51aad4ca376ea4b8b148928da6">More...</a><br /></td></tr>
<tr class="separator:a7a4dec51aad4ca376ea4b8b148928da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bce4f9d882a5b487ec04ea7d0ba7a65"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a8bce4f9d882a5b487ec04ea7d0ba7a65">getCleanToggle</a> (void) const</td></tr>
<tr class="memdesc:a8bce4f9d882a5b487ec04ea7d0ba7a65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Clean Toggle setting of the A/C.  <a href="classIRMirageAc.html#a8bce4f9d882a5b487ec04ea7d0ba7a65">More...</a><br /></td></tr>
<tr class="separator:a8bce4f9d882a5b487ec04ea7d0ba7a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b7bf9d60d77666591b3194d5bb8e14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a78b7bf9d60d77666591b3194d5bb8e14">setFilter</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:a78b7bf9d60d77666591b3194d5bb8e14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Filter setting of the A/C.  <a href="classIRMirageAc.html#a78b7bf9d60d77666591b3194d5bb8e14">More...</a><br /></td></tr>
<tr class="separator:a78b7bf9d60d77666591b3194d5bb8e14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6c05bb381cf67f7e9bb9b03f5930887"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ae6c05bb381cf67f7e9bb9b03f5930887">getFilter</a> (void) const</td></tr>
<tr class="memdesc:ae6c05bb381cf67f7e9bb9b03f5930887"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Filter setting of the A/C.  <a href="classIRMirageAc.html#ae6c05bb381cf67f7e9bb9b03f5930887">More...</a><br /></td></tr>
<tr class="separator:ae6c05bb381cf67f7e9bb9b03f5930887"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec971441b6f1ef3a36695c88cca2271"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a1ec971441b6f1ef3a36695c88cca2271">setIFeel</a> (const bool <a class="el" href="classIRMirageAc.html#a127f2c6ed2a2285ad4f94b2be1409e13">on</a>)</td></tr>
<tr class="memdesc:a1ec971441b6f1ef3a36695c88cca2271"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the IFeel setting of the A/C.  <a href="classIRMirageAc.html#a1ec971441b6f1ef3a36695c88cca2271">More...</a><br /></td></tr>
<tr class="separator:a1ec971441b6f1ef3a36695c88cca2271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec4283036c0f021d80837e88aade2ece"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#aec4283036c0f021d80837e88aade2ece">getIFeel</a> (void) const</td></tr>
<tr class="memdesc:aec4283036c0f021d80837e88aade2ece"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the IFeel setting of the A/C.  <a href="classIRMirageAc.html#aec4283036c0f021d80837e88aade2ece">More...</a><br /></td></tr>
<tr class="separator:aec4283036c0f021d80837e88aade2ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae83a616b255658fb56e964e67d2165be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ae83a616b255658fb56e964e67d2165be">setSensorTemp</a> (const uint8_t degrees)</td></tr>
<tr class="memdesc:ae83a616b255658fb56e964e67d2165be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sensor Temp setting of the A/C's remote.  <a href="classIRMirageAc.html#ae83a616b255658fb56e964e67d2165be">More...</a><br /></td></tr>
<tr class="separator:ae83a616b255658fb56e964e67d2165be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a918be65307e312903ab3b473ec701b5c"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a918be65307e312903ab3b473ec701b5c">getSensorTemp</a> (void) const</td></tr>
<tr class="memdesc:a918be65307e312903ab3b473ec701b5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sensor Temp setting of the A/C's remote.  <a href="classIRMirageAc.html#a918be65307e312903ab3b473ec701b5c">More...</a><br /></td></tr>
<tr class="separator:a918be65307e312903ab3b473ec701b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36e5cef27ab49619ba70e426a711e14e"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a36e5cef27ab49619ba70e426a711e14e">getOnTimer</a> (void) const</td></tr>
<tr class="memdesc:a36e5cef27ab49619ba70e426a711e14e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of minutes the On Timer is currently set for.  <a href="classIRMirageAc.html#a36e5cef27ab49619ba70e426a711e14e">More...</a><br /></td></tr>
<tr class="separator:a36e5cef27ab49619ba70e426a711e14e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a980dc936ba21d4e3611444e45f143264"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a980dc936ba21d4e3611444e45f143264">getOffTimer</a> (void) const</td></tr>
<tr class="memdesc:a980dc936ba21d4e3611444e45f143264"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of minutes the Off Timer is currently set for.  <a href="classIRMirageAc.html#a980dc936ba21d4e3611444e45f143264">More...</a><br /></td></tr>
<tr class="separator:a980dc936ba21d4e3611444e45f143264"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15914c5952e5dfd6cf373263f04c61ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a15914c5952e5dfd6cf373263f04c61ae">setOnTimer</a> (const uint16_t nr_of_mins)</td></tr>
<tr class="memdesc:a15914c5952e5dfd6cf373263f04c61ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of minutes for the On Timer.  <a href="classIRMirageAc.html#a15914c5952e5dfd6cf373263f04c61ae">More...</a><br /></td></tr>
<tr class="separator:a15914c5952e5dfd6cf373263f04c61ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b50549ad1ad805af09d5c1daec18b06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a7b50549ad1ad805af09d5c1daec18b06">setOffTimer</a> (const uint16_t nr_of_mins)</td></tr>
<tr class="memdesc:a7b50549ad1ad805af09d5c1daec18b06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of minutes for the Off Timer.  <a href="classIRMirageAc.html#a7b50549ad1ad805af09d5c1daec18b06">More...</a><br /></td></tr>
<tr class="separator:a7b50549ad1ad805af09d5c1daec18b06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80a4c7238fe313e5efd83aa5866660ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a80a4c7238fe313e5efd83aa5866660ce">getModel</a> (const bool useRaw=false) const</td></tr>
<tr class="memdesc:a80a4c7238fe313e5efd83aa5866660ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the model code of the interal message state.  <a href="classIRMirageAc.html#a80a4c7238fe313e5efd83aa5866660ce">More...</a><br /></td></tr>
<tr class="separator:a80a4c7238fe313e5efd83aa5866660ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7a0eb9901a126c80d5139e92a2af06a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ae7a0eb9901a126c80d5139e92a2af06a">setModel</a> (const <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a> model)</td></tr>
<tr class="memdesc:ae7a0eb9901a126c80d5139e92a2af06a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the model code of the interal message state.  <a href="classIRMirageAc.html#ae7a0eb9901a126c80d5139e92a2af06a">More...</a><br /></td></tr>
<tr class="separator:ae7a0eb9901a126c80d5139e92a2af06a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab650323835bf6a57532bde70a97172c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab650323835bf6a57532bde70a97172c8">toCommon</a> (void) const</td></tr>
<tr class="memdesc:ab650323835bf6a57532bde70a97172c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRMirageAc.html#ab650323835bf6a57532bde70a97172c8">More...</a><br /></td></tr>
<tr class="separator:ab650323835bf6a57532bde70a97172c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad67c96d4c2209803c292d33b4a18d255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ad67c96d4c2209803c292d33b4a18d255">fromCommon</a> (const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> state)</td></tr>
<tr class="memdesc:ad67c96d4c2209803c292d33b4a18d255"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert &amp; set a <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> to its equivalent internal settings.  <a href="classIRMirageAc.html#ad67c96d4c2209803c292d33b4a18d255">More...</a><br /></td></tr>
<tr class="separator:ad67c96d4c2209803c292d33b4a18d255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e94ad10970b298a76d0b7528e6aaeda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a3e94ad10970b298a76d0b7528e6aaeda">toString</a> (void) const</td></tr>
<tr class="memdesc:a3e94ad10970b298a76d0b7528e6aaeda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the internal state into a human readable string.  <a href="classIRMirageAc.html#a3e94ad10970b298a76d0b7528e6aaeda">More...</a><br /></td></tr>
<tr class="separator:a3e94ad10970b298a76d0b7528e6aaeda"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae5174a6a1b2722f73546dcfc07d57b84"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ae5174a6a1b2722f73546dcfc07d57b84">getModel</a> (const uint8_t *state)</td></tr>
<tr class="memdesc:ae5174a6a1b2722f73546dcfc07d57b84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Guess the Mirage remote model from the supplied state code.  <a href="classIRMirageAc.html#ae5174a6a1b2722f73546dcfc07d57b84">More...</a><br /></td></tr>
<tr class="separator:ae5174a6a1b2722f73546dcfc07d57b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88b8da40a963855145a1ada664d13bb0"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a88b8da40a963855145a1ada664d13bb0">validChecksum</a> (const uint8_t *data)</td></tr>
<tr class="memdesc:a88b8da40a963855145a1ada664d13bb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state.  <a href="classIRMirageAc.html#a88b8da40a963855145a1ada664d13bb0">More...</a><br /></td></tr>
<tr class="separator:a88b8da40a963855145a1ada664d13bb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a696620ef62d3fc10e58a89d99c9864a0"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a696620ef62d3fc10e58a89d99c9864a0">calculateChecksum</a> (const uint8_t *data)</td></tr>
<tr class="memdesc:a696620ef62d3fc10e58a89d99c9864a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given state.  <a href="classIRMirageAc.html#a696620ef62d3fc10e58a89d99c9864a0">More...</a><br /></td></tr>
<tr class="separator:a696620ef62d3fc10e58a89d99c9864a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6aa4a798b0d5cc095baa0e270994b49"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ad6aa4a798b0d5cc095baa0e270994b49">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:ad6aa4a798b0d5cc095baa0e270994b49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRMirageAc.html#ad6aa4a798b0d5cc095baa0e270994b49">More...</a><br /></td></tr>
<tr class="separator:ad6aa4a798b0d5cc095baa0e270994b49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab105a626b84bbf6f811610e0068d2d4b"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab105a626b84bbf6f811610e0068d2d4b">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed, const <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a> model=<a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50aad0df91c24fb2589e46148f119befa625">mirage_ac_remote_model_t::KKG9AC1</a>)</td></tr>
<tr class="memdesc:ab105a626b84bbf6f811610e0068d2d4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRMirageAc.html#ab105a626b84bbf6f811610e0068d2d4b">More...</a><br /></td></tr>
<tr class="separator:ab105a626b84bbf6f811610e0068d2d4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af775167a98789cb7e24022515ca61b3a"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#af775167a98789cb7e24022515ca61b3a">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> position)</td></tr>
<tr class="memdesc:af775167a98789cb7e24022515ca61b3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting.  <a href="classIRMirageAc.html#af775167a98789cb7e24022515ca61b3a">More...</a><br /></td></tr>
<tr class="separator:af775167a98789cb7e24022515ca61b3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d9ddbccc392e8ef322688b1b65a8b1b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a8d9ddbccc392e8ef322688b1b65a8b1b">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a8d9ddbccc392e8ef322688b1b65a8b1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRMirageAc.html#a8d9ddbccc392e8ef322688b1b65a8b1b">More...</a><br /></td></tr>
<tr class="separator:a8d9ddbccc392e8ef322688b1b65a8b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a782a5d9950e83e44fde9acf110c84d76"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a782a5d9950e83e44fde9acf110c84d76">toCommonFanSpeed</a> (const uint8_t speed, const <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a> model=<a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50aad0df91c24fb2589e46148f119befa625">mirage_ac_remote_model_t::KKG9AC1</a>)</td></tr>
<tr class="memdesc:a782a5d9950e83e44fde9acf110c84d76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRMirageAc.html#a782a5d9950e83e44fde9acf110c84d76">More...</a><br /></td></tr>
<tr class="separator:a782a5d9950e83e44fde9acf110c84d76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584b0eb485a8fa1f5c3c469e13449108"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a584b0eb485a8fa1f5c3c469e13449108">toCommonSwingV</a> (const uint8_t pos)</td></tr>
<tr class="memdesc:a584b0eb485a8fa1f5c3c469e13449108"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native vertical swing postion to it's common equivalent.  <a href="classIRMirageAc.html#a584b0eb485a8fa1f5c3c469e13449108">More...</a><br /></td></tr>
<tr class="separator:a584b0eb485a8fa1f5c3c469e13449108"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a7cb0895e8e28252aaf9d1f29ca797b67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a7cb0895e8e28252aaf9d1f29ca797b67">checksum</a> (void)</td></tr>
<tr class="memdesc:a7cb0895e8e28252aaf9d1f29ca797b67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state.  <a href="classIRMirageAc.html#a7cb0895e8e28252aaf9d1f29ca797b67">More...</a><br /></td></tr>
<tr class="separator:a7cb0895e8e28252aaf9d1f29ca797b67"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ab8c64e23b7c81ccc9cf5704fc8a5d4c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#ab8c64e23b7c81ccc9cf5704fc8a5d4c9">_irsend</a></td></tr>
<tr class="memdesc:ab8c64e23b7c81ccc9cf5704fc8a5d4c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRMirageAc.html#ab8c64e23b7c81ccc9cf5704fc8a5d4c9">More...</a><br /></td></tr>
<tr class="separator:ab8c64e23b7c81ccc9cf5704fc8a5d4c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc102695b6e7e0a5e103be39147862af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionMirage120Protocol.html">Mirage120Protocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#acc102695b6e7e0a5e103be39147862af">_</a></td></tr>
<tr class="separator:acc102695b6e7e0a5e103be39147862af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c8883583fd29b293a2a0b01f9025719"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMirageAc.html#a3c8883583fd29b293a2a0b01f9025719">_model</a></td></tr>
<tr class="separator:a3c8883583fd29b293a2a0b01f9025719"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Mirage 120-bit A/C messages. </p>
<dl class="section note"><dt>Note</dt><dd>Inspired and derived from the work done at: <a href="https://github.com/r45635/HVAC-IR-Control">https://github.com/r45635/HVAC-IR-Control</a> </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Consider this very alpha code. Seems to work, but not validated. </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a739c4800143fe7ecacd4b9574fa2bdbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a739c4800143fe7ecacd4b9574fa2bdbd">&#9670;&nbsp;</a></span>IRMirageAc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRMirageAc::IRMirageAc </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acee1d211b4518a48743209100ea4c707"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acee1d211b4518a48743209100ea4c707">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="a696620ef62d3fc10e58a89d99c9864a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a696620ef62d3fc10e58a89d99c9864a0">&#9670;&nbsp;</a></span>calculateChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::calculateChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the checksum for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>The value to calc the checksum of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated checksum value. </dd></dl>

</div>
</div>
<a id="a0edd555ed11a4e3c8c4b59ccb130ac77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0edd555ed11a4e3c8c4b59ccb130ac77">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRMirageAc::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a7cb0895e8e28252aaf9d1f29ca797b67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cb0895e8e28252aaf9d1f29ca797b67">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::checksum </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate and set the checksum values for the internal state. </p>

</div>
</div>
<a id="ab105a626b84bbf6f811610e0068d2d4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab105a626b84bbf6f811610e0068d2d4b">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a>&#160;</td>
          <td class="paramname"><em>model</em> = <code><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50aad0df91c24fb2589e46148f119befa625">mirage_ac_remote_model_t::KKG9AC1</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">model</td><td>The model type to use to influence the conversion. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="ad6aa4a798b0d5cc095baa0e270994b49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6aa4a798b0d5cc095baa0e270994b49">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="af775167a98789cb7e24022515ca61b3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af775167a98789cb7e24022515ca61b3a">&#9670;&nbsp;</a></span>convertSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::convertSwingV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="ad67c96d4c2209803c292d33b4a18d255"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad67c96d4c2209803c292d33b4a18d255">&#9670;&nbsp;</a></span>fromCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::fromCommon </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert &amp; set a <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> to its equivalent internal settings. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The desired state in <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> form. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8bce4f9d882a5b487ec04ea7d0ba7a65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bce4f9d882a5b487ec04ea7d0ba7a65">&#9670;&nbsp;</a></span>getCleanToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getCleanToggle </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Clean Toggle setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>on true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="ab1a38cdbacb9ec817998ba65a47d712b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1a38cdbacb9ec817998ba65a47d712b">&#9670;&nbsp;</a></span>getClock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t IRMirageAc::getClock </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the clock time of the A/C unit. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr. of seconds past midnight. </dd></dl>

</div>
</div>
<a id="a17d861562af0b4ed5c1e211c002bf6b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17d861562af0b4ed5c1e211c002bf6b6">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed/mode. </dd></dl>

</div>
</div>
<a id="ae6c05bb381cf67f7e9bb9b03f5930887"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6c05bb381cf67f7e9bb9b03f5930887">&#9670;&nbsp;</a></span>getFilter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getFilter </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Filter setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>on true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="aec4283036c0f021d80837e88aade2ece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec4283036c0f021d80837e88aade2ece">&#9670;&nbsp;</a></span>getIFeel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getIFeel </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the IFeel setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>on true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="aa2bd55ddf1872201752ac25e9e516df9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2bd55ddf1872201752ac25e9e516df9">&#9670;&nbsp;</a></span>getLight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getLight </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current Light/Display setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Light is a toggle on the KKG29AC1 model. </dd></dl>

</div>
</div>
<a id="aa2c790dbbb72c395c1b238c9033e5ad2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2c790dbbb72c395c1b238c9033e5ad2">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="a80a4c7238fe313e5efd83aa5866660ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80a4c7238fe313e5efd83aa5866660ce">&#9670;&nbsp;</a></span>getModel() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a> IRMirageAc::getModel </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>useRaw</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the model code of the interal message state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">useRaw</td><td>If set, we try to get the model info from just the state. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The model code. </dd></dl>

</div>
</div>
<a id="ae5174a6a1b2722f73546dcfc07d57b84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5174a6a1b2722f73546dcfc07d57b84">&#9670;&nbsp;</a></span>getModel() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a> IRMirageAc::getModel </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Guess the Mirage remote model from the supplied state code. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>A valid state code for this protocol. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The model code. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This result isn't perfect. Both protocols can look the same but have wildly different settings. </dd></dl>

</div>
</div>
<a id="a980dc936ba21d4e3611444e45f143264"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a980dc936ba21d4e3611444e45f143264">&#9670;&nbsp;</a></span>getOffTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t IRMirageAc::getOffTimer </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of minutes the Off Timer is currently set for. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr. of Minutes the timer is set for. 0, is the timer is not in use. </dd></dl>

</div>
</div>
<a id="a36e5cef27ab49619ba70e426a711e14e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36e5cef27ab49619ba70e426a711e14e">&#9670;&nbsp;</a></span>getOnTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t IRMirageAc::getOnTimer </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of minutes the On Timer is currently set for. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr. of Minutes the timer is set for. 0, is the timer is not in use. </dd></dl>

</div>
</div>
<a id="a8c876e6f1b2a5b3b4a796a22c96298f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c876e6f1b2a5b3b4a796a22c96298f1">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a5da3e5cf8ca797a6b67d701ccc4ac7f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5da3e5cf8ca797a6b67d701ccc4ac7f6">&#9670;&nbsp;</a></span>getQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getQuiet </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Quiet setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>on true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="ab08d6daf244c8a52edb64f9a852f35aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab08d6daf244c8a52edb64f9a852f35aa">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t * IRMirageAc::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="a918be65307e312903ab3b473ec701b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a918be65307e312903ab3b473ec701b5c">&#9670;&nbsp;</a></span>getSensorTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t IRMirageAc::getSensorTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Sensor Temp setting of the A/C's remote. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for the sensor temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a4f8337cacbaf7f5d970582cef5d4a8fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f8337cacbaf7f5d970582cef5d4a8fb">&#9670;&nbsp;</a></span>getSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getSleep </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current Sleep setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="aa183dd0bdefbf85c2e731b1fa905fdaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa183dd0bdefbf85c2e731b1fa905fdaa">&#9670;&nbsp;</a></span>getSwingH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getSwingH </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Horizontal Swing setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>on true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="aabdbbfd77e7c18e0658e3424b44b6fd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabdbbfd77e7c18e0658e3424b44b6fd1">&#9670;&nbsp;</a></span>getSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::getSwingV </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing setting/position of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The desired Vertical Swing setting/position. </dd></dl>

</div>
</div>
<a id="a9db699a5048f76dd31365686d001c081"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9db699a5048f76dd31365686d001c081">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRMirageAc::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a70e6f674e41d988a11794e09d79a7ae1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70e6f674e41d988a11794e09d79a7ae1">&#9670;&nbsp;</a></span>getTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::getTurbo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current Turbo setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a6c9cf60f9c7e4fab43253a74883d82cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c9cf60f9c7e4fab43253a74883d82cb">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the requested power state of the A/C to off. </p>

</div>
</div>
<a id="a127f2c6ed2a2285ad4f94b2be1409e13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a127f2c6ed2a2285ad4f94b2be1409e13">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the requested power state of the A/C to on. </p>

</div>
</div>
<a id="ad85d51d2142083d19610ffd6aea5f230"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad85d51d2142083d19610ffd6aea5f230">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a86283c34cf9991bf8bfc29ee089a6a21">kMirageMinRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7a4dec51aad4ca376ea4b8b148928da6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a4dec51aad4ca376ea4b8b148928da6">&#9670;&nbsp;</a></span>setCleanToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setCleanToggle </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the CleanToggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afc7d3367490496fa45f92c42a0a26219"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc7d3367490496fa45f92c42a0a26219">&#9670;&nbsp;</a></span>setClock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setClock </td>
          <td>(</td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>nr_of_seconds</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the clock time on the A/C unit. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nr_of_seconds</td><td>Nr. of seconds past midnight. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0e52ad09371e1001fb8c7199c2f3781d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e52ad09371e1001fb8c7199c2f3781d">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a78b7bf9d60d77666591b3194d5bb8e14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78b7bf9d60d77666591b3194d5bb8e14">&#9670;&nbsp;</a></span>setFilter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setFilter </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Filter setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1ec971441b6f1ef3a36695c88cca2271"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ec971441b6f1ef3a36695c88cca2271">&#9670;&nbsp;</a></span>setIFeel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setIFeel </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the IFeel setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a16b6b18a323ab87138880e2997620924"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16b6b18a323ab87138880e2997620924">&#9670;&nbsp;</a></span>setLight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setLight </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the Light/Display setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Light is a toggle on the KKG29AC1 model. </dd></dl>

</div>
</div>
<a id="af2cabff8998a1c01b6871177adb13691"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2cabff8998a1c01b6871177adb13691">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae7a0eb9901a126c80d5139e92a2af06a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7a0eb9901a126c80d5139e92a2af06a">&#9670;&nbsp;</a></span>setModel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setModel </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a>&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the model code of the interal message state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">model</td><td>The desired model to use for the settings. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7b50549ad1ad805af09d5c1daec18b06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b50549ad1ad805af09d5c1daec18b06">&#9670;&nbsp;</a></span>setOffTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setOffTimer </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>nr_of_mins</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the number of minutes for the Off Timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nr_of_mins</td><td>How long to set the timer for. 0 disables the timer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a15914c5952e5dfd6cf373263f04c61ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15914c5952e5dfd6cf373263f04c61ae">&#9670;&nbsp;</a></span>setOnTimer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setOnTimer </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>nr_of_mins</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the number of minutes for the On Timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nr_of_mins</td><td>How long to set the timer for. 0 disables the timer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab32b550138dab52f8811a8e4c0755bec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab32b550138dab52f8811a8e4c0755bec">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5679bdf6e19db9c533dc92e37f6f8ad2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5679bdf6e19db9c533dc92e37f6f8ad2">&#9670;&nbsp;</a></span>setQuiet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setQuiet </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Quiet setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae9899b06aefc5242cd06d38ad284083d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9899b06aefc5242cd06d38ad284083d">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A valid code for this protocol. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae83a616b255658fb56e964e67d2165be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae83a616b255658fb56e964e67d2165be">&#9670;&nbsp;</a></span>setSensorTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setSensorTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>degrees</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Sensor Temp setting of the A/C's remote. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The desired sensor temp. in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae77d42622bb57f828cbe8fb37dac28be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae77d42622bb57f828cbe8fb37dac28be">&#9670;&nbsp;</a></span>setSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setSleep </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the Sleep setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab5ea54d76d2dbac81a2d4bab7d99d81f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5ea54d76d2dbac81a2d4bab7d99d81f">&#9670;&nbsp;</a></span>setSwingH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setSwingH </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Horizontal Swing setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad41be56bfe16c533736e8ed4a3838aa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad41be56bfe16c533736e8ed4a3838aa1">&#9670;&nbsp;</a></span>setSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setSwingV </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing setting/position of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>The desired swing setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a701fe7dfe311071d9cee04cb7605d847"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a701fe7dfe311071d9cee04cb7605d847">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>degrees</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aabfe8f6289a834e0e295a5ca93168f95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabfe8f6289a834e0e295a5ca93168f95">&#9670;&nbsp;</a></span>setTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::setTurbo </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the Turbo setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac9ecf7951e9d95937e6a89c09d5ad609"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9ecf7951e9d95937e6a89c09d5ad609">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRMirageAc::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the state of the remote to a known good state/sequence. </p>

</div>
</div>
<a id="ab650323835bf6a57532bde70a97172c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab650323835bf6a57532bde70a97172c8">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRMirageAc::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="a782a5d9950e83e44fde9acf110c84d76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a782a5d9950e83e44fde9acf110c84d76">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRMirageAc::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a>&#160;</td>
          <td class="paramname"><em>model</em> = <code><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50aad0df91c24fb2589e46148f119befa625">mirage_ac_remote_model_t::KKG9AC1</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">model</td><td>The model type to use to influence the conversion. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a8d9ddbccc392e8ef322688b1b65a8b1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d9ddbccc392e8ef322688b1b65a8b1b">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRMirageAc::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a584b0eb485a8fa1f5c3c469e13449108"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a584b0eb485a8fa1f5c3c469e13449108">&#9670;&nbsp;</a></span>toCommonSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> IRMirageAc::toCommonSwingV </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native vertical swing postion to it's common equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>A native position to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The common vertical swing position. </dd></dl>

</div>
</div>
<a id="a3e94ad10970b298a76d0b7528e6aaeda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e94ad10970b298a76d0b7528e6aaeda">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRMirageAc::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A string containing the settings in human-readable form. </dd></dl>

</div>
</div>
<a id="a88b8da40a963855145a1ada664d13bb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88b8da40a963855145a1ada664d13bb0">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool IRMirageAc::validChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>The array to verify the checksum of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, if the state has a valid checksum. Otherwise, false. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="acc102695b6e7e0a5e103be39147862af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc102695b6e7e0a5e103be39147862af">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionMirage120Protocol.html">Mirage120Protocol</a> IRMirageAc::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab8c64e23b7c81ccc9cf5704fc8a5d4c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8c64e23b7c81ccc9cf5704fc8a5d4c9">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRMirageAc::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<a id="a3c8883583fd29b293a2a0b01f9025719"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c8883583fd29b293a2a0b01f9025719">&#9670;&nbsp;</a></span>_model</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRsend_8h.html#a775bd9639c480bd9f2b28ac51c15a50a">mirage_ac_remote_model_t</a> IRMirageAc::_model</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Mirage_8h_source.html">ir_Mirage.h</a></li>
<li>src/<a class="el" href="ir__Mirage_8cpp.html">ir_Mirage.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
